package com.iye.puretennis.custom;

import android.app.Application;
import android.content.Context;
import android.graphics.Typeface;
import cn.jpush.android.api.JPushInterface;
import com.iye.puretennis.helper.ImageHelper;
import com.nostra13.universalimageloader.core.ImageLoader;

/**
 * Created with IntelliJ IDEA.
 * User: jing wu
 * Date: 2014/12/15
 * Time: 11:19
 */
public class CustomApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        JPushInterface.init(this);
        Context applicationContext = getApplicationContext();

        ImageHelper.initImageLoader(ImageLoader.getInstance(), applicationContext);


    }

    public Typeface huaWenHuPo;


    public Typeface getHuaWenHuPo() {
        return huaWenHuPo;
    }

    public void setHuaWenHuPo(Typeface huaWenHuPo) {
        this.huaWenHuPo = huaWenHuPo;
    }
}
